<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title><spring:message code="title.folders" /></title>
</head>
<body>
<div><jsp:include flush="true" page="header.jsp"></jsp:include></div>
<form name="folderlist" method="post">
<div align="left" class="body1">
<table border="0" class="TableBigBox">
	<c:forEach var="folder" items="${folder}">
		<c:url var="viewFolderURL" value="folderdocuments.htm">
			<c:param name="folder" value="${folder.folderid}"></c:param>
		</c:url>
		<c:url var="deleteFolderURL" value="deletefolder.htm">
			<c:param name="folder" value="${viewFolderURL}"></c:param>
		</c:url>
		<table>
			<tr align="center">
				<td class="txtnormal"><a href="${viewFolderURL}"><img
					src='<spring:theme code="folder.logo"/>'
					alt=${folder.folderName
				} align="left" width="100"
					height="100" /></a></td>
			</tr>
			<tr>
				<td class="txtnormal"><font style="font-weight: bold">${folder.folderName}</font></td>
			</tr>

			<tr>
				<td class="txtnormal"><font
					style="color: gray; font-size: small">${folder.description}</font></td>
			</tr>
			<tr>
				<td class="txtnormal"><font
					style="color: gray; font-size: small"><spring:message
					code="folder.creationDate" arguments="${folder.creationDate}" /></font></td>
			</tr>
			<tr>
				<td class="txtnormal"><font size=2px class="link" /><a
					href="deletefolder.htm?folderID=${folder.folderid}">Delete this
				folder</a></td>
			</tr>
		</table>

	</c:forEach>
</table>

<div><a class="urllink" href="createfolder.htm"><font
	class="txtnormal">Create New Folder</font></a> &nbsp; <a class="urllink"
	href="documentupload.htm"><font class="txtnormal">Upload
Document</font></a></div>
</div>
</form>
</body>
</html>
